package com.kefu.sys.mapper;

import com.kefu.common.mybatis.KefuMapper;
import com.kefu.sys.model.SysUserRole;
import org.apache.ibatis.annotations.Delete;

public interface SysUserRoleMapper extends KefuMapper<SysUserRole> {
    void deleteByUserId(String userId);

    @Delete("delete from sys_user_role where role_id = #{arg0} ")
    void deleteByRoleId(String roleId);
}
